package com.swu.pad.analysis.service;

import java.util.List;
import java.util.Map;

import com.swu.pad.system.entity.User;

public interface AnalysisService {

	/**
	 * 获取活动组间雷达图
	 * @param activityId
	 * @param user
	 * @return
	 * @throws Exception 
	 */
	public Map<String, Object> getGroupBetweenRadar(String activityId, User user) throws Exception;
	public Map<String, Object> getCourseBetweenRadar(String activityId, User user);//班级平均
	/**
	 * 获取活动组间社交网络图
	 * @param activityId
	 * @param user
	 * @return
	 * @throws Exception 
	 */
	public Map<String, Object> getBetweenRelationshipB(String activityId, User user) throws Exception;
	/**
	 * 获取活动班级社交网络图
	 * @param activityId
	 * @param user
	 * @return
	 * @throws Exception 
	 */
	public Map<String, Object> getBetweenRelationship(String activityId, User user) throws Exception;
	/**
	 * 获取活动组间雷达图
	 * @param activityId
	 * @param user
	 * @return
	 * @throws Exception 
	 */
	public Map<String, Object> getGroupRadar(String activityId, User user) throws Exception;
	public Map<String, Object> getCourseRadar(String activityId, User user);//班级平均
	/**
	 * 组内字数饼图
	 * @param activityId
	 * @param user
	 * @return
	 */
	public Map<String, Object> getGroupWordPie(String activityId, User user);
	public Map<String, Object> getCourseWordPie(String activityId, User user);

	/**
	 * 获取组内版本数柱状图
	 * @param activityId
	 * @param user
	 * @return
	 */
	public Map<String, Object> getGroupVersionBar(String activityId, User user);
	public Map<String, Object> getCourseVersionBar(String activityId, User user);//班级平均

	/**
	 * 专注度折线图
	 * @param activityId
	 * @param user
	 * @return
	 */
	public Map<String, Object> getFocusLine(String activityId, User user);

	/**
	 * 获取pad所有人专注度集合
	 * @param assignmentPadId
	 * @return
	 */
	public List getPadFocus(String activityId,String userId);
	
	/**
	 * 获取班级雷达图
	 * @param activityId
	 * @param user
	 * @return
	 * @throws Exception 
	 */
	public Map<String, Object> getMutualCourseRadar(String activityId, User user) throws Exception;
	
	/**
	 * 获得组内社会网络图
	 * @param activityId
	 * @param user
	 * @return
	 */
	public Map<String, Object> getMutualtRelationship(String activityId, User user);
	
	/*
	 * 获取    是否 给出组内互评建议结果       组内所有人 给自己打分完毕才允许前端  输出 建议  
	 */
	public String getGroupAdviceResult(String activityId, User user);
	/*
	 * 通过获取文本分析所有内容
	 */
	public Map<String,String> getTextAysContents(String padId, String activityId, User user);

    
	
}
